package com.jctrip.hotel.common.enums;

import lombok.Getter;

/**
 * 订单状态枚举
 */
@Getter
public enum OrderStatusEnum {

    NOT_CONFIRMED(0, "待确认"),
    BOOK_SUCCESS(1, "预定成功"),
    CANCELED(2, "已取消"),
    NOT_SHOW(3, "预定未到"),
    ARRIVED(4, "已入住"),
    QUITED(5, "已离店"),
    BOOK_FAILED(6, "预定失败");

    private final int code;
    private final String msg;

    OrderStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
